<template>
    <div class="demo">
        <div class="header">
          <div class="fl goBack">
            <span class="iconfont icon-fanhui" style='color:#0093ee; font-size: 0.36rem;'></span>
            <span style='color: #007aff'>返回</span>
          </div>
          <div class="header_title">
            <span>智能电子发票报销</span>
          </div>
        </div>
        <div class="main">
          <router-view></router-view>
        </div>
    </div>
</template>
<script>

export default {
    created() {
      console.log(this.$store.state.demo)
    }
  };
</script>

<style lang="scss" scoped>
    .demo {
        /* width: 7.5rem; */
        height: 13.34rem;
        box-sizing: border-box;
        border: 1px solid red;
        font-size: 0.32rem;
        background-color: #f5f5f5;
        .header{
          position: relative;
          width: 100%;
          box-sizing: border-box;
          padding: 15px;
          border-bottom: 1px solid #d2d2d2;
          background-color: #f8f8f8;
          .goBack {
            font-weight: 400;
          }
          .header_title {
            text-align: center
          }
        }
        .main{
          position: absolute;
          /* width: inherit; */
          width: 100%;
        }
        .fl {
          float: left;
          display: block;
        }
    }
</style>

